package com.server.common.mailbox.config;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@Slf4j
@Getter
@Setter
@ConfigurationProperties(value = "mail",ignoreInvalidFields = true,ignoreUnknownFields = true)
public class MailConfig {

    // 邮件服务器地址
    private String host;

    // 邮件服务器端口
    private Integer port;

    private String aliasName;

    // 发件人的用户名
    private String userName;

    // 发件人密码
    private String passWord;



}
